.editor-button {
  padding: 0 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  user-select: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; 
  .editor-icon {
    width: 20px;
    outline: none;
    user-select: none;
    -webkit-user-drag: none;
  }
  &.active {
    color: #3370ff;
    fill: #3370ff;
    background-color: #e1eaff;
    .editor-icon {
      color: #3370ff;
    }
  }
  &.small {
    width: 32px;
  }
  &.middle {
    width: 48px;
  }
  &.large {
    width: 64px;
  }
  &:hover {
    background-color: #eff0f1;
  }
}
